package com.sky.mapper;

import com.sky.entity.ManageComment;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ManageCommentMapper {
    @Insert("INSERT INTO game_forum.t_comment " +
            "(comment_id, post_id, user_id, content, parent_id, create_time, update_time) " +
            "VALUES " +
            "(#{commentId}, #{postId}, #{userId}, #{content}, #{parentId}, #{createTime}, #{updateTime})")
    void insert(ManageComment manageComment);
}
